<br />
Ajax Default <?=date('H:i:s')?>
<br />
<?php if(array($results) && sizeof($results) > 0) : ?>
<?php 	foreach($results AS $result) : ?>
		<p><?php echo $result['configfilevariable_id'].' '.$result['instance_id'].' '.$result['configfile_id'].' '.$result['varname'].' '.$result['varvalue']; ?></p>
<?php 	endforeach; ?>		
<?php endif; ?>

<br />
<?php if(array($results1) && sizeof($results1) > 0) : ?>
<?php 	foreach($results1 AS $result1) : ?>
		<p>
			<?php 
				echo 
					$result1['servicecheck_id'].' '.$result1['instance_id'].' '.$result1['service_object_id'].' '.
					$result1['check_type'].' '.$result1['current_check_attempt'].' '.$result1['max_check_attempts'].' '.
					$result1['state'].' '.$result1['state_type'].' '.$result1['start_time'].' '.
					$result1['start_time_usec'].' '.$result1['end_time'].' '.$result1['end_time_usec'].' '.
					$result1['command_object_id'].' '.$result1['command_args'].' '.$result1['command_line'].' '.
					$result1['timeout'].' '.$result1['early_timeout'].' '.$result1['execution_time'].' '.
					$result1['latency'].' '.$result1['return_code'].' '.$result1['output'].' '.
					$result1['long_output'].' '.$result1['perfdata'];
			?>
		</p>
<?php 	endforeach; ?>		
<?php endif; ?>